package pl.kech.pszczyna.repository;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import pl.kech.pszczyna.domain.Image;

public interface ImageDAO extends GenericDAO<Image> {
	
	Long deleteAndReturnGalleryCatId(final Object id);

	void uploadImage(Long galleryCatId, HttpServletRequest request);

	void getImage(String blobKeyStr, HttpServletResponse response)
			throws IOException;
	
}
